Use non-copying BIO interface in ssltest.c.
[oweals/openssl.git] / crypto / dsa / dsa_key.c
index d51ed9395f14a6e7f13226007666c5f21fb899e7..ab7f38fc7c6c0d211af12600bb2989743e02360c 100644 (file)
  * [including the GNU Public Licence.]
  */
 
+#ifndef NO_SHA
 #include <stdio.h>
 #include <time.h>
 #include "cryptlib.h"
-#include "sha.h"
-#include "bn.h"
-#include "dsa.h"
-#include "rand.h"
+#include <openssl/sha.h>
+#include <openssl/bn.h>
+#include <openssl/dsa.h>
+#include <openssl/rand.h>
 
-int DSA_generate_key(dsa)
-DSA *dsa;
+int DSA_generate_key(DSA *dsa)
        {
        int ok=0;
        unsigned int i;
@@ -109,4 +109,4 @@ err:
        if (ctx != NULL) BN_CTX_free(ctx);
        return(ok);
        }
-
+#endif