#include <openssl/bn.h>
#include <openssl/evp.h>
#include <openssl/objects.h>
+#include OPENSSL_NO_ENGINE
#include <openssl/engine.h>
+#endif
#include <openssl/asn1.h>
#include "asn1_locl.h"
else
{
ret= *a;
+#ifndef OPENSSL_NO_ENGINE
if (ret->engine)
{
ENGINE_finish(ret->engine);
ret->engine = NULL;
}
+#endif
}
if (!EVP_PKEY_set_type(ret, type))
/* Find a method based on a string. This does a linear search through
* all implemented algorithms. This is OK in practice because only
* a small number of algorithms are likely to be implemented in an engine
- * and it is only used for non speed critical operations.
+ * and it is not used for speed critical operations.
*/
const EVP_PKEY_ASN1_METHOD *ENGINE_get_pkey_asn1_meth_str(ENGINE *e,