summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-04-04 18:35:36 +0000
committerderaadt <deraadt@openbsd.org>2003-04-04 18:35:36 +0000
commit2b45c239051fc47ff139eee2a0ed4c09cfcfd7d8 (patch)
tree0c8c8b0f7fc287703d9fe9a21ecab156ca21d1b4 /lib/libssl/src
parentincorrect bounds limit; spotted by ho (diff)
downloadwireguard-openbsd-2b45c239051fc47ff139eee2a0ed4c09cfcfd7d8.tar.xz
wireguard-openbsd-2b45c239051fc47ff139eee2a0ed4c09cfcfd7d8.zip
oops
Diffstat (limited to 'lib/libssl/src')
-rw-r--r--lib/libssl/src/apps/x509.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libssl/src/apps/x509.c b/lib/libssl/src/apps/x509.c
index bc280d2c399..7681e7e8ba5 100644
--- a/lib/libssl/src/apps/x509.c
+++ b/lib/libssl/src/apps/x509.c
@@ -1030,7 +1030,7 @@ static ASN1_INTEGER *load_serial(char *CAfile, char *serialfile, int create)
len = ((serialfile == NULL)
?(strlen(CAfile)+strlen(POSTFIX)+1)
- :(strlen(serialfile)))+1);
+ :(strlen(serialfile)))+1;
buf=OPENSSL_malloc(len);
if (buf == NULL) { BIO_printf(bio_err,"out of mem\n"); goto end; }
if (serialfile == NULL)