Browse Source

Add a no-op |OPENSSL_no_config|.

Nodejs 6.9.0 calls this function.

Change-Id: I375f222cb819ebcb9fdce0a0d63df6817fa2dcae
Reviewed-on: https://boringssl-review.googlesource.com/11625
Commit-Queue: Adam Langley <alangley@gmail.com>
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
kris/onging/CECPQ3_patch15
Adam Langley 8 years ago
committed by CQ bot account: commit-bot@chromium.org
parent
commit
373a6a5a7d
2 changed files with 5 additions and 0 deletions
  1. +2
    -0
      crypto/conf/conf.c
  2. +3
    -0
      include/openssl/conf.h

+ 2
- 0
crypto/conf/conf.c View File

@@ -786,3 +786,5 @@ int CONF_modules_load_file(CONF_MUST_BE_NULL *filename, const char *appname,
void CONF_modules_free(void) {}

void OPENSSL_config(CONF_MUST_BE_NULL *config_name) {}

void OPENSSL_no_config(void) {}

+ 3
- 0
include/openssl/conf.h View File

@@ -155,6 +155,9 @@ OPENSSL_EXPORT void CONF_modules_free(void);
/* OPENSSL_config does nothing. */
OPENSSL_EXPORT void OPENSSL_config(CONF_MUST_BE_NULL *config_name);

/* OPENSSL_no_config does nothing. */
OPENSSL_EXPORT void OPENSSL_no_config(void);


#if defined(__cplusplus)
} /* extern C */


Loading…
Cancel
Save