Re: SSL_dane_tlsa_add function signature

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On Jan 9, 2018, at 12:56 PM, Patrick Schlangen <patrick@xxxxxxxxxxxx> wrote:
> 
> Reading the docs, my impression ist hat SSL_dane_tlsa_add adds a TLSA record
> to the SSL object for later use during verification.
> What puzzles me is that the data argument of type unsigned char is not
> const.

It should have been "const".  Sorry about that.  If you're enthusiastic to
contribute, please feel free to file a githu pull-request against
ssl/ssl_lib.c and include/openssl/ssl.h (which for a first pull-request
will also require you to file contributor license agreement).  If that's
all too much work, I can fix the issue on your behalf.

> Will the function modify the data buffer in any way?

No.

> Also, is it safe to free the data after calling SSL_dane_tlsa_add

Yes.

> or phrased differently: Will SSL_dane_tlsa_add create a copy of the data?

Yes.

-- 
	Viktor.

-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux