|
1 | 1 | ------------------------------------------------------------------------------ |
2 | 2 | -- Secure Sockets Layer -- |
3 | 3 | -- -- |
4 | | --- Copyright (C) 2000-2016, AdaCore -- |
| 4 | +-- Copyright (C) 2000-2021, AdaCore -- |
5 | 5 | -- -- |
6 | 6 | -- This library is free software; you can redistribute it and/or modify -- |
7 | 7 | -- it under terms of the GNU General Public License as published by the -- |
@@ -758,27 +758,28 @@ package SSL.Thin is |
758 | 758 | OPENSSL_DIR : constant := 5; |
759 | 759 |
|
760 | 760 | function OpenSSL_version_num return long |
761 | | - with Import, Convention => C, External_Name => "OpenSSL_version_num"; |
| 761 | + with Import, Convention => C, |
| 762 | + External_Name => "__aws_OpenSSL_version_num"; |
762 | 763 | -- Returns OpenSSL numeric release version identifier |
763 | 764 |
|
764 | 765 | function SSLeay return long renames OpenSSL_version_num; |
765 | 766 |
|
766 | 767 | function OpenSSL_version (T : int) return Cstr.chars_ptr |
767 | | - with Import, Convention => C, External_Name => "OpenSSL_version"; |
| 768 | + with Import, Convention => C, External_Name => "__aws_OpenSSL_version"; |
768 | 769 | -- Returns version information line |
769 | 770 |
|
770 | 771 | ------------------------------- |
771 | 772 | -- Context control routines -- |
772 | 773 | ------------------------------- |
773 | 774 |
|
774 | 775 | function TLS_method return SSL_Method |
775 | | - with Import, Convention => C, External_Name => "TLS_method"; |
| 776 | + with Import, Convention => C, External_Name => "__aws_TLS_method"; |
776 | 777 |
|
777 | 778 | function TLS_server_method return SSL_Method |
778 | | - with Import, Convention => C, External_Name => "TLS_server_method"; |
| 779 | + with Import, Convention => C, External_Name => "__aws_TLS_server_method"; |
779 | 780 |
|
780 | 781 | function TLS_client_method return SSL_Method |
781 | | - with Import, Convention => C, External_Name => "TLS_client_method"; |
| 782 | + with Import, Convention => C, External_Name => "__aws_TLS_client_method"; |
782 | 783 |
|
783 | 784 | function TLSv1_method return SSL_Method |
784 | 785 | with Import, Convention => C, External_Name => "TLSv1_method"; |
@@ -1017,10 +1018,10 @@ package SSL.Thin is |
1017 | 1018 | type EVP_MD_CTX is new Pointer; |
1018 | 1019 |
|
1019 | 1020 | function EVP_MD_CTX_new return EVP_MD_CTX |
1020 | | - with Import, Convention => C, External_Name => "EVP_MD_CTX_new"; |
| 1021 | + with Import, Convention => C, External_Name => "__aws_EVP_MD_CTX_new"; |
1021 | 1022 |
|
1022 | 1023 | procedure EVP_MD_CTX_free (Ctx : EVP_MD_CTX) |
1023 | | - with Import, Convention => C, External_Name => "EVP_MD_CTX_free"; |
| 1024 | + with Import, Convention => C, External_Name => "__aws_EVP_MD_CTX_free"; |
1024 | 1025 |
|
1025 | 1026 | function EVP_DigestInit (ctx : EVP_MD_CTX; kind : EVP_MD) return int |
1026 | 1027 | with Import, Convention => C, External_Name => "EVP_DigestInit"; |
|
0 commit comments