summaryrefslogtreecommitdiff
path: root/lib/libcrypto/rsa/rsa_x931.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-06-12 15:49:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-06-12 15:49:32 +0000
commit49a392b36834a2c852c7913eca64b1663500622a (patch)
treec526d22b9e2f914670ee1207fe73124442677cfd /lib/libcrypto/rsa/rsa_x931.c
parentdba886c38cea7b6970051b037308699d853bc83b (diff)
tags as requested by miod and tedu
Diffstat (limited to 'lib/libcrypto/rsa/rsa_x931.c')
-rw-r--r--lib/libcrypto/rsa/rsa_x931.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrypto/rsa/rsa_x931.c b/lib/libcrypto/rsa/rsa_x931.c
index df3c45f802e..6592c22ee56 100644
--- a/lib/libcrypto/rsa/rsa_x931.c
+++ b/lib/libcrypto/rsa/rsa_x931.c
@@ -1,5 +1,5 @@
-/* rsa_x931.c */
-/* Written by Dr Stephen N Henson (shenson@bigfoot.com) for the OpenSSL
+/* $OpenBSD: rsa_x931.c,v 1.2 2014/06/12 15:49:30 deraadt Exp $ */
+/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2005.
*/
/* ====================================================================
@@ -105,7 +105,7 @@ int RSA_padding_add_X931(unsigned char *to, int tlen,
int RSA_padding_check_X931(unsigned char *to, int tlen,
const unsigned char *from, int flen, int num)
{
- int i,j;
+ int i = 0,j;
const unsigned char *p;
p=from;