summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/pem/pem_lib.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/pem/pem_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/pem/pem_lib.c b/src/lib/libcrypto/pem/pem_lib.c
index 8d33fe75a8..1a531d7749 100644
--- a/src/lib/libcrypto/pem/pem_lib.c
+++ b/src/lib/libcrypto/pem/pem_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: pem_lib.c,v 1.29 2014/07/09 11:10:51 bcook Exp $ */ 1/* $OpenBSD: pem_lib.c,v 1.30 2014/07/10 11:25:13 tedu Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -102,7 +102,7 @@ PEM_def_callback(char *buf, int num, int w, void *key)
102 if (i != 0) { 102 if (i != 0) {
103 PEMerr(PEM_F_PEM_DEF_CALLBACK, 103 PEMerr(PEM_F_PEM_DEF_CALLBACK,
104 PEM_R_PROBLEMS_GETTING_PASSWORD); 104 PEM_R_PROBLEMS_GETTING_PASSWORD);
105 memset(buf, 0, (unsigned int)num); 105 memset(buf, 0, num);
106 return (-1); 106 return (-1);
107 } 107 }
108 j = strlen(buf); 108 j = strlen(buf);