Go to file
Bernd Edlinger 62cc845fc9 Use OPENSSL_strlcpy instead of strncpy in e_afalg.c
This avoids a spurious gcc warning:
./config enable-asan --strict-warnings
=>
In function 'afalg_create_sk',
    inlined from 'afalg_cipher_init' at engines/e_afalg.c:545:11:
engines/e_afalg.c:376:5: error: '__builtin_strncpy' output may be
    truncated copying 63 bytes from a string of length 63 [-Werror=stringop-truncation]
  376 |     strncpy((char *) sa.salg_name, ciphername, ALG_MAX_SALG_NAME);
      |     ^~~~~~~

[extended tests]

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9478)
2019-07-30 20:36:32 +02:00
.github Auto add a label depending on the type of issue they report. 2019-07-16 20:33:01 +02:00
apps Remove HEADER_X509_H and HEADER_SSL_H include detectors from apps 2019-07-24 15:48:53 +02:00
boringssl@2070f8ad91
Configurations Refactor apps/progs.* to be generate with 'make update' 2019-07-15 07:00:29 +02:00
crypto Document the provider CIPHER operation 2019-07-30 10:17:12 +01:00
demos Fix Typos 2019-07-02 14:22:29 +02:00
doc Document the provider CIPHER operation 2019-07-30 10:17:12 +01:00
engines Use OPENSSL_strlcpy instead of strncpy in e_afalg.c 2019-07-30 20:36:32 +02:00
external/perl
fuzz Add OIDs for kmac128, kmac256 and blake2. 2019-07-01 17:41:31 +10:00
include ERR: re-use the err_data field when possible 2019-07-30 07:07:01 +02:00
krb5@b9ad6c4950
ms
os-dep
providers Fix coverity 1452084 2019-07-30 18:57:35 +10:00
pyca-cryptography@09403100de
ssl Don't generate an unnecessary Diffie-Hellman key in TLS 1.3 clients. 2019-07-25 16:08:27 -04:00
test Add weak platform independent PRNG to test framework. 2019-07-29 09:11:15 +10:00
tools
util Add functions to see if a provider is available for use. 2019-07-26 18:14:41 +02:00
VMS
.gitattributes
.gitignore Refactor apps/progs.* to be generate with 'make update' 2019-07-15 07:00:29 +02:00
.gitmodules
.travis-apt-pin.preferences
.travis-create-release.sh
.travis.yml
ACKNOWLEDGEMENTS
appveyor.yml
AUTHORS
build.info
CHANGES Add functions to see if a provider is available for use. 2019-07-26 18:14:41 +02:00
config iOS build: Replace %20 with space in config script 2019-07-08 10:55:57 +02:00
config.com
Configure Remove EXPORT_VAR_AS_FUNC 2019-07-01 20:13:03 -04:00
CONTRIBUTING
e_os.h Remove NextStep support 2019-07-01 13:32:46 -04:00
FAQ
HACKING A very brief explanation of how to add custom functions to OpenSSL. 2019-07-08 20:09:13 +10:00
INSTALL
LICENSE
NEWS Fix Typos 2019-07-01 10:09:22 +02:00
NOTES.ANDROID
NOTES.DJGPP
NOTES.PERL
NOTES.UNIX
NOTES.VALGRIND
NOTES.VMS
NOTES.WIN
README
README.ENGINE
README.FIPS

 OpenSSL 3.0.0-dev

 Copyright (c) 1998-2018 The OpenSSL Project
 Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson
 All rights reserved.

 DESCRIPTION
 -----------

 The OpenSSL Project is a collaborative effort to develop a robust,
 commercial-grade, fully featured, and Open Source toolkit implementing the
 Transport Layer Security (TLS) protocols (including SSLv3) as well as a
 full-strength general purpose cryptographic library.

 OpenSSL is descended from the SSLeay library developed by Eric A. Young
 and Tim J. Hudson.

 The OpenSSL toolkit is licensed under the Apache License 2.0, which means
 that you are free to get and use it for commercial and non-commercial
 purposes as long as you fulfill its conditions.

 OVERVIEW
 --------

 The OpenSSL toolkit includes:

 libssl (with platform specific naming):
     Provides the client and server-side implementations for SSLv3 and TLS.

 libcrypto (with platform specific naming):
     Provides general cryptographic and X.509 support needed by SSL/TLS but
     not logically part of it.

 openssl:
     A command line tool that can be used for:
        Creation of key parameters
        Creation of X.509 certificates, CSRs and CRLs
        Calculation of message digests
        Encryption and decryption
        SSL/TLS client and server tests
        Handling of S/MIME signed or encrypted mail
        And more...

 INSTALLATION
 ------------

 See the appropriate file:
        INSTALL         Linux, Unix, Windows, OpenVMS, ...
        NOTES.*         INSTALL addendums for different platforms

 SUPPORT
 -------

 See the OpenSSL website www.openssl.org for details on how to obtain
 commercial technical support. Free community support is available through the
 openssl-users email list (see
 https://www.openssl.org/community/mailinglists.html for further details).

 If you have any problems with OpenSSL then please take the following steps
 first:

    - Download the latest version from the repository
      to see if the problem has already been addressed
    - Configure with no-asm
    - Remove compiler optimization flags

 If you wish to report a bug then please include the following information
 and create an issue on GitHub:

    - OpenSSL version: output of 'openssl version -a'
    - Configuration data: output of 'perl configdata.pm --dump'
    - OS Name, Version, Hardware platform
    - Compiler Details (name, version)
    - Application Details (name, version)
    - Problem Description (steps that will reproduce the problem, if known)
    - Stack Traceback (if the application dumps core)

 Just because something doesn't work the way you expect does not mean it
 is necessarily a bug in OpenSSL. Use the openssl-users email list for this type
 of query.

 HOW TO CONTRIBUTE TO OpenSSL
 ----------------------------

 See CONTRIBUTING

 LEGALITIES
 ----------

 A number of nations restrict the use or export of cryptography. If you
 are potentially subject to such restrictions you should seek competent
 professional legal advice before attempting to develop or distribute
 cryptographic code.