diff options
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_key.c')
| -rw-r--r-- | src/lib/libcrypto/dsa/dsa_key.c | 14 | 
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/libcrypto/dsa/dsa_key.c b/src/lib/libcrypto/dsa/dsa_key.c index d51ed9395f..ab7f38fc7c 100644 --- a/src/lib/libcrypto/dsa/dsa_key.c +++ b/src/lib/libcrypto/dsa/dsa_key.c  | |||
| @@ -56,16 +56,16 @@ | |||
| 56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] | 
| 57 | */ | 57 | */ | 
| 58 | 58 | ||
| 59 | #ifndef NO_SHA | ||
| 59 | #include <stdio.h> | 60 | #include <stdio.h> | 
| 60 | #include <time.h> | 61 | #include <time.h> | 
| 61 | #include "cryptlib.h" | 62 | #include "cryptlib.h" | 
| 62 | #include "sha.h" | 63 | #include <openssl/sha.h> | 
| 63 | #include "bn.h" | 64 | #include <openssl/bn.h> | 
| 64 | #include "dsa.h" | 65 | #include <openssl/dsa.h> | 
| 65 | #include "rand.h" | 66 | #include <openssl/rand.h> | 
| 66 | 67 | ||
| 67 | int DSA_generate_key(dsa) | 68 | int DSA_generate_key(DSA *dsa) | 
| 68 | DSA *dsa; | ||
| 69 | { | 69 | { | 
| 70 | int ok=0; | 70 | int ok=0; | 
| 71 | unsigned int i; | 71 | unsigned int i; | 
| @@ -109,4 +109,4 @@ err: | |||
| 109 | if (ctx != NULL) BN_CTX_free(ctx); | 109 | if (ctx != NULL) BN_CTX_free(ctx); | 
| 110 | return(ok); | 110 | return(ok); | 
| 111 | } | 111 | } | 
| 112 | 112 | #endif | |
