summaryrefslogtreecommitdiffstats
path: root/krl.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-02-12 11:01:39 +1100
committerDamien Miller <djm@mindrot.org>2013-02-12 11:01:39 +1100
commit0cd2f8e5f8276e178d696f3495ca2a9a691dccf5 (patch)
tree9305d1df72fdcfc6a8912e472fc7b925ac512c45 /krl.c
parentf0a8ded824a0149940a8c95755da05a9ce5d7f35 (diff)
- djm@cvs.openbsd.org 2013/01/27 10:06:12
[krl.c] actually use the xrealloc() return value; spotted by xi.wang AT gmail.com
Diffstat (limited to 'krl.c')
-rw-r--r--krl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/krl.c b/krl.c
index e4e1788f..5ed7bd7e 100644
--- a/krl.c
+++ b/krl.c
@@ -14,7 +14,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $OpenBSD: krl.c,v 1.8 2013/01/25 10:22:19 djm Exp $ */
+/* $OpenBSD: krl.c,v 1.9 2013/01/27 10:06:12 djm Exp $ */
#include "includes.h"
@@ -981,7 +981,7 @@ ssh_krl_from_blob(Buffer *buf, struct ssh_krl **krlp,
}
}
/* Record keys used to sign the KRL */
- xrealloc(ca_used, nca_used + 1, sizeof(*ca_used));
+ ca_used = xrealloc(ca_used, nca_used + 1, sizeof(*ca_used));
ca_used[nca_used++] = key;
key = NULL;
break;