Since there's no continuation, the ; can go as well :-)
[oweals/openssl.git] / crypto / asn1 / i2d_pr.c
index a40c64d3f4991cbe0105f65331151687ede6da6b..1e951ae01d3bc30c3583136bf8c894aa70475ead 100644 (file)
@@ -67,9 +67,6 @@
 #ifndef OPENSSL_NO_DSA
 #include <openssl/dsa.h>
 #endif
-#ifndef OPENSSL_NO_ECDSA
-#include <openssl/ecdsa.h>
-#endif
 
 int i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp)
        {
@@ -86,12 +83,6 @@ int i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp)
                return(i2d_DSAPrivateKey(a->pkey.dsa,pp));
                }
 #endif
-#ifndef OPENSSL_NO_ECDSA
-       if (a->type == EVP_PKEY_ECDSA)
-               {
-               return(i2d_ECDSAPrivateKey(a->pkey.ecdsa, pp));
-               }
-#endif
 
        ASN1err(ASN1_F_I2D_PRIVATEKEY,ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE);
        return(-1);