diff options
author | Julien Boeuf <jboeuf@google.com> | 2017-04-12 21:44:49 -0700 |
---|---|---|
committer | Julien Boeuf <jboeuf@google.com> | 2017-04-26 11:26:36 -0700 |
commit | b71ef65cb379c9d44ca9dcaf03306196c7c04c4f (patch) | |
tree | a53b9469b09b60d513e5f8a639fbd94f8dc21116 /include/grpc/grpc_security.h | |
parent | e7c31edb555399b699261cb6e0b9f83fb3d6d9d9 (diff) |
more TLS cleanup.
- using NULL-terminated strings as opposed to const unsigned char *
with length since the credentials are in PEM format.
- aligning the structures with gRPC so that we have less convertions to
do back and forth.
Diffstat (limited to 'include/grpc/grpc_security.h')
-rw-r--r-- | include/grpc/grpc_security.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc/grpc_security.h b/include/grpc/grpc_security.h index 79199cc5d6..5d3cc4fd67 100644 --- a/include/grpc/grpc_security.h +++ b/include/grpc/grpc_security.h @@ -158,7 +158,7 @@ typedef struct { } grpc_ssl_pem_key_cert_pair; /* Creates an SSL credentials object. - - pem_roots_cert is the NULL-terminated string containing the PEM encoding + - pem_root_certs is the NULL-terminated string containing the PEM encoding of the server root certificates. If this parameter is NULL, the implementation will first try to dereference the file pointed by the GRPC_DEFAULT_SSL_ROOTS_FILE_PATH environment variable, and if that fails, |