=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/key.c,v retrieving revision 1.105 retrieving revision 1.106 diff -u -r1.105 -r1.106 --- src/usr.bin/ssh/Attic/key.c 2013/10/29 09:42:11 1.105 +++ src/usr.bin/ssh/Attic/key.c 2013/12/02 03:09:22 1.106 @@ -1,4 +1,4 @@ -/* $OpenBSD: key.c,v 1.105 2013/10/29 09:42:11 djm Exp $ */ +/* $OpenBSD: key.c,v 1.106 2013/12/02 03:09:22 djm Exp $ */ /* * read_bignum(): * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -1531,6 +1531,10 @@ Buffer b; int len, type; + if (blobp != NULL) + *blobp = NULL; + if (lenp != NULL) + *lenp = 0; if (key == NULL) { error("key_to_blob: key == NULL"); return 0;