summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/gost/gostr341194.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/gost/gostr341194.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/gost/gostr341194.c b/src/lib/libcrypto/gost/gostr341194.c
index 32c166aefa..2a462185aa 100644
--- a/src/lib/libcrypto/gost/gostr341194.c
+++ b/src/lib/libcrypto/gost/gostr341194.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: gostr341194.c,v 1.4 2015/07/15 17:13:17 beck Exp $ */ 1/* $OpenBSD: gostr341194.c,v 1.5 2015/09/10 15:56:25 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> 3 * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
4 * Copyright (c) 2005-2006 Cryptocom LTD 4 * Copyright (c) 2005-2006 Cryptocom LTD
@@ -267,7 +267,7 @@ GOSTR341194(const unsigned char *d, size_t n, unsigned char *md, int nid)
267 return 0; 267 return 0;
268 GOSTR341194_Update(&c, d, n); 268 GOSTR341194_Update(&c, d, n);
269 GOSTR341194_Final(md, &c); 269 GOSTR341194_Final(md, &c);
270 OPENSSL_cleanse(&c, sizeof(c)); 270 explicit_bzero(&c, sizeof(c));
271 return (md); 271 return (md);
272} 272}
273#endif 273#endif