提交 a844e27b 编写于 作者: G Geoff Thorpe

Tidy up some code formatting.

上级 0783bf15
...@@ -53,12 +53,12 @@ ...@@ -53,12 +53,12 @@
* *
*/ */
#ifdef OPENSSL_OPENBSD_DEV_CRYPTO
#include <openssl/engine.h> #include <openssl/engine.h>
#include <openssl/evp.h> #include <openssl/evp.h>
#include "engine_int.h" #include "engine_int.h"
#ifdef OPENSSL_OPENBSD_DEV_CRYPTO
static void load_ciphers(ENGINE *e) static void load_ciphers(ENGINE *e)
{ {
ENGINE_add_cipher(e,EVP_dev_crypto_des_ede3_cbc()); ENGINE_add_cipher(e,EVP_dev_crypto_des_ede3_cbc());
...@@ -69,8 +69,8 @@ ENGINE *ENGINE_openbsd_dev_crypto(void) ...@@ -69,8 +69,8 @@ ENGINE *ENGINE_openbsd_dev_crypto(void)
{ {
ENGINE *engine=ENGINE_new(); ENGINE *engine=ENGINE_new();
if(!ENGINE_set_id(engine,"openbsd_dev_crypto") if(!ENGINE_set_id(engine,"openbsd_dev_crypto") ||
|| !ENGINE_set_name(engine,"OpenBSD /dev/crypto")) !ENGINE_set_name(engine,"OpenBSD /dev/crypto"))
{ {
ENGINE_free(engine); ENGINE_free(engine);
return NULL; return NULL;
...@@ -80,4 +80,4 @@ ENGINE *ENGINE_openbsd_dev_crypto(void) ...@@ -80,4 +80,4 @@ ENGINE *ENGINE_openbsd_dev_crypto(void)
return engine; return engine;
} }
#endif #endif /* defined(OPENSSL_OPENBSD_DEV_CRYPTO) */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册