diff options
author | beck <> | 2002-05-15 02:29:21 +0000 |
---|---|---|
committer | beck <> | 2002-05-15 02:29:21 +0000 |
commit | b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9 (patch) | |
tree | fa27cf82a1250b64ed3bf5f4a18c7354d470bbcc /src/lib/libcrypto/lhash/lh_test.c | |
parent | e471e1ea98d673597b182ea85f29e30c97cd08b5 (diff) | |
download | openbsd-b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9.tar.gz openbsd-b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9.tar.bz2 openbsd-b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9.zip |
OpenSSL 0.9.7 stable 2002 05 08 merge
Diffstat (limited to 'src/lib/libcrypto/lhash/lh_test.c')
-rw-r--r-- | src/lib/libcrypto/lhash/lh_test.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/libcrypto/lhash/lh_test.c b/src/lib/libcrypto/lhash/lh_test.c index 6008781e57..85700c859b 100644 --- a/src/lib/libcrypto/lhash/lh_test.c +++ b/src/lib/libcrypto/lhash/lh_test.c | |||
@@ -75,7 +75,6 @@ main() | |||
75 | buf[0]='\0'; | 75 | buf[0]='\0'; |
76 | fgets(buf,256,stdin); | 76 | fgets(buf,256,stdin); |
77 | if (buf[0] == '\0') break; | 77 | if (buf[0] == '\0') break; |
78 | buf[256]='\0'; | ||
79 | i=strlen(buf); | 78 | i=strlen(buf); |
80 | p=OPENSSL_malloc(i+1); | 79 | p=OPENSSL_malloc(i+1); |
81 | memcpy(p,buf,i+1); | 80 | memcpy(p,buf,i+1); |