*** empty log message ***
[openssl.git] / apps / dsa.c
index dc282b77d0ff722667afede4bb9922239d4aab90..fedecf27397bc51095fd3adf3dcd5e50bf1014e0 100644 (file)
@@ -56,6 +56,7 @@
  * [including the GNU Public Licence.]
  */
 
+#ifndef NO_DSA
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -190,7 +191,7 @@ bad:
        if      (informat == FORMAT_ASN1)
                dsa=d2i_DSAPrivateKey_bio(in,NULL);
        else if (informat == FORMAT_PEM)
-               dsa=PEM_read_bio_DSAPrivateKey(in,NULL,NULL);
+               dsa=PEM_read_bio_DSAPrivateKey(in,NULL,NULL,NULL);
        else
                {
                BIO_printf(bio_err,"bad input format specified for key\n");
@@ -234,7 +235,7 @@ bad:
        if      (outformat == FORMAT_ASN1)
                i=i2d_DSAPrivateKey_bio(out,dsa);
        else if (outformat == FORMAT_PEM)
-               i=PEM_write_bio_DSAPrivateKey(out,dsa,enc,NULL,0,NULL);
+               i=PEM_write_bio_DSAPrivateKey(out,dsa,enc,NULL,0,NULL,NULL);
        else    {
                BIO_printf(bio_err,"bad output format specified for outfile\n");
                goto end;
@@ -252,4 +253,4 @@ end:
        if (dsa != NULL) DSA_free(dsa);
        EXIT(ret);
        }
-
+#endif