summaryrefslogtreecommitdiff
path: root/key.c
diff options
context:
space:
mode:
Diffstat (limited to 'key.c')
-rw-r--r--key.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/key.c b/key.c
index e6266fa58..0d0c912e6 100644
--- a/key.c
+++ b/key.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: key.c,v 1.84 2010/03/03 01:44:36 djm Exp $ */ 1/* $OpenBSD: key.c,v 1.85 2010/03/04 01:44:57 djm Exp $ */
2/* 2/*
3 * read_bignum(): 3 * read_bignum():
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1069,8 +1069,8 @@ cert_parse(Buffer *b, Key *key, const u_char *blob, u_int blen)
1069 buffer_append(&tmp, constraints, clen); 1069 buffer_append(&tmp, constraints, clen);
1070 /* validate structure */ 1070 /* validate structure */
1071 while (buffer_len(&tmp) != 0) { 1071 while (buffer_len(&tmp) != 0) {
1072 if (buffer_get_string_ptr(&tmp, NULL) == NULL || 1072 if (buffer_get_string_ptr_ret(&tmp, NULL) == NULL ||
1073 buffer_get_string_ptr(&tmp, NULL) == NULL) { 1073 buffer_get_string_ptr_ret(&tmp, NULL) == NULL) {
1074 error("%s: Constraints data invalid", __func__); 1074 error("%s: Constraints data invalid", __func__);
1075 goto out; 1075 goto out;
1076 } 1076 }