Remove obsolete TODOs.
Looks like they're using the pool now. Change-Id: Ieeb1cacb9cb039d35ff091bc9742262f0fc5b146 Reviewed-on: https://boringssl-review.googlesource.com/18364 Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
committed by
Adam Langley
parent
9ad98f7edf
commit
d6a8a5a54d
@@ -678,7 +678,6 @@ UniquePtr<SSL_SESSION> SSL_SESSION_parse(CBS *cbs,
|
||||
}
|
||||
|
||||
if (has_peer) {
|
||||
/* TODO(agl): this should use the |SSL_CTX|'s pool. */
|
||||
CRYPTO_BUFFER *buffer = CRYPTO_BUFFER_new_from_CBS(&peer, pool);
|
||||
if (buffer == NULL ||
|
||||
!sk_CRYPTO_BUFFER_push(ret->certs, buffer)) {
|
||||
@@ -696,7 +695,6 @@ UniquePtr<SSL_SESSION> SSL_SESSION_parse(CBS *cbs,
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
/* TODO(agl): this should use the |SSL_CTX|'s pool. */
|
||||
CRYPTO_BUFFER *buffer = CRYPTO_BUFFER_new_from_CBS(&cert, pool);
|
||||
if (buffer == NULL ||
|
||||
!sk_CRYPTO_BUFFER_push(ret->certs, buffer)) {
|
||||
|
||||
Reference in New Issue
Block a user