【发布时间】:2017-07-31 23:42:19
【问题描述】:
我有以下 OpenSSL 代码:
BIO* out = BIO_new(BIO_s_file()); // BIO_new_fp(stdout, BIO_NOCLOSE);
if (out == NULL) {
CNGerr(CNG_F_CNG_CTRL, CNG_R_FILE_OPEN_ERROR);
return 0;
}
BIO_set_fp(out, stdout, BIO_NOCLOSE); // Program exits with code 0x1 here
在BIO_set_fp(out, stdout, BIO_NOCLOSE); 行,程序存在,错误为 0x1。
我在 Windows 10 上使用 Visual Studio 2015。
【问题讨论】:
标签: c openssl openssl-engine