在旧程序中,我们有一行代码如下:
EVP_PKEY *pKey;
/*
.
.
*/
if (pkey->type == EVP_PKEY_RSA)
doSomething();
Run Code Online (Sandbox Code Playgroud)
但在较新版本的OpenSSL中,EVP_PKEY禁止访问内部实现.我找不到任何替换上述实现的功能.任何的想法?
| 归档时间: |
|
| 查看次数: |
2297 次 |
| 最近记录: |