Ticket #63854: dnssec_sign.c.patch
File dnssec_sign.c.patch, 913 bytes (added by marka63, 3 years ago) |
---|
-
dnssec_sign.c
old new 413 413 { 414 414 EC_KEY* ec; 415 415 const EC_GROUP* g; 416 #if def HAVE_EVP_PKEY_BASE_ID416 #if defined(EVP_PKEY_base_id) || defined(HAVE_EVP_PKEY_BASE_ID) 417 417 if(EVP_PKEY_base_id(pkey) != EVP_PKEY_EC) 418 418 return 0; 419 419 #else … … 529 529 #ifdef USE_DSA 530 530 #ifndef S_SPLINT_S 531 531 /* unfortunately, OpenSSL output is different from DNS DSA format */ 532 # if def HAVE_EVP_PKEY_BASE_ID532 # if defined(EVP_PKEY_base_id) || defined(HAVE_EVP_PKEY_BASE_ID) 533 533 if (EVP_PKEY_base_id(key) == EVP_PKEY_DSA) { 534 534 # else 535 535 if (EVP_PKEY_type(key->type) == EVP_PKEY_DSA) { … … 541 541 #endif 542 542 #if defined(USE_ECDSA) 543 543 if( 544 # if def HAVE_EVP_PKEY_BASE_ID544 # if defined(EVP_PKEY_base_id) || defined(HAVE_EVP_PKEY_BASE_ID) 545 545 EVP_PKEY_base_id(key) 546 546 # else 547 547 EVP_PKEY_type(key->type)