projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make binary curve ASN.1 work in FIPS mode.
[oweals/openssl.git]
/
crypto
/
lhash
/
lh_test.c
diff --git
a/crypto/lhash/lh_test.c
b/crypto/lhash/lh_test.c
index f90b3bbd24ae699104898ca302494baf0daa5f4b..85700c859bf39e8eaad7289fe75ba57721b3fb2d 100644
(file)
--- a/
crypto/lhash/lh_test.c
+++ b/
crypto/lhash/lh_test.c
@@
-1,5
+1,5
@@
/* crypto/lhash/lh_test.c */
/* crypto/lhash/lh_test.c */
-/* Copyright (C) 1995-199
7
Eric Young (eay@cryptsoft.com)
+/* Copyright (C) 1995-199
8
Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* All rights reserved.
*
* This package is an SSL implementation written
@@
-59,7
+59,7
@@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include
"lhash.h"
+#include
<openssl/lhash.h>
main()
{
main()
{
@@
-75,9
+75,8
@@
main()
buf[0]='\0';
fgets(buf,256,stdin);
if (buf[0] == '\0') break;
buf[0]='\0';
fgets(buf,256,stdin);
if (buf[0] == '\0') break;
- buf[256]='\0';
i=strlen(buf);
i=strlen(buf);
- p=
M
alloc(i+1);
+ p=
OPENSSL_m
alloc(i+1);
memcpy(p,buf,i+1);
lh_insert(conf,p);
}
memcpy(p,buf,i+1);
lh_insert(conf,p);
}