Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asterisk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Voice
asterisk
Commits
78206485
Commit
78206485
authored
6 years ago
by
Joshua Colp
Committed by
Gerrit Code Review
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge "res_crypto: Allow OpenSSL configured with no-deprecated."
parents
a46e658b
ca682f00
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
res/res_crypto.c
+20
-13
20 additions, 13 deletions
res/res_crypto.c
with
20 additions
and
13 deletions
res/res_crypto.c
+
20
−
13
View file @
78206485
...
...
@@ -33,21 +33,28 @@
#include
"asterisk.h"
#include
"asterisk/paths.h"
/* use ast_config_AST_KEY_DIR */
#include
<openssl/ssl.h>
#include
<openssl/err.h>
#include
<openssl/aes.h>
#include
<dirent.h>
#include
"asterisk/module.h"
#include
"asterisk/md5.h"
#include
"asterisk/cli.h"
#include
"asterisk/io.h"
#include
"asterisk/lock.h"
#include
"asterisk/utils.h"
#include
<dirent.h>
/* for closedir, opendir, readdir, DIR */
#include
<openssl/aes.h>
/* for AES_decrypt, AES_encrypt, AES_set... */
#include
<openssl/err.h>
/* for ERR_print_errors_fp */
#include
<openssl/ssl.h>
/* for NID_sha1, RSA */
#include
<openssl/pem.h>
/* for PEM_read_RSAPrivateKey, PEM_read_... */
#include
<openssl/rsa.h>
/* for RSA_free, RSA_private_decrypt, RSA */
#include
<openssl/sha.h>
/* for SHA1 */
#include
"asterisk/cli.h"
/* for ast_cli, ast_cli_args, ast_cli_entry */
#include
"asterisk/compat.h"
/* for strcasecmp */
#include
"asterisk/io.h"
/* for ast_hide_password, ast_restore_tty */
#include
"asterisk/linkedlists.h"
/* for AST_RWLIST_TRAVERSE, AST_RWLIST_U... */
#include
"asterisk/logger.h"
/* for ast_log, LOG_WARNING, LOG_NOTICE */
#include
"asterisk/md5.h"
/* for MD5Final, MD5Init, MD5Update, MD5... */
#include
"asterisk/module.h"
/* for ast_module_flags::AST_MODFLAG_GLO... */
#include
"asterisk/options.h"
/* for ast_opt_init_keys */
#include
"asterisk/paths.h"
/* for ast_config_AST_KEY_DIR */
#include
"asterisk/utils.h"
/* for ast_copy_string, ast_base64decode */
#define AST_API_MODULE
#include
"asterisk/crypto.h"
#include
"asterisk/crypto.h"
/* for AST_KEY_PUBLIC, AST_KEY_PRIVATE */
/*
* Asterisk uses RSA keys with SHA-1 message digests for its
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment