summaryrefslogtreecommitdiff
path: root/krl.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2017-10-04 11:23:58 +0100
committerColin Watson <cjwatson@debian.org>2017-10-05 23:58:12 +0100
commit0556ea972b15607b7e13ff31bc05840881c91dd3 (patch)
treed6b8d48062d0278b5ae0eeff42d0e9afa9f26860 /krl.c
parentdb2122d97eb1ecdd8d99b7bf79b0dd2b5addfd92 (diff)
parent801a62eedaaf47b20dbf4b426dc3e084bf0c8d49 (diff)
New upstream release (7.6p1)
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 3f28178b7..086fc20e5 100644
--- a/krl.c
+++ b/krl.c
@@ -14,7 +14,7 @@
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 */ 15 */
16 16
17/* $OpenBSD: krl.c,v 1.39 2017/03/10 07:18:32 dtucker Exp $ */ 17/* $OpenBSD: krl.c,v 1.40 2017/05/31 09:15:42 deraadt Exp $ */
18 18
19#include "includes.h" 19#include "includes.h"
20 20
@@ -1026,7 +1026,7 @@ ssh_krl_from_blob(struct sshbuf *buf, struct ssh_krl **krlp,
1026 } 1026 }
1027 } 1027 }
1028 /* Record keys used to sign the KRL */ 1028 /* Record keys used to sign the KRL */
1029 tmp_ca_used = reallocarray(ca_used, nca_used + 1, 1029 tmp_ca_used = recallocarray(ca_used, nca_used, nca_used + 1,
1030 sizeof(*ca_used)); 1030 sizeof(*ca_used));
1031 if (tmp_ca_used == NULL) { 1031 if (tmp_ca_used == NULL) {
1032 r = SSH_ERR_ALLOC_FAIL; 1032 r = SSH_ERR_ALLOC_FAIL;