Mercurial > trustbridge
comparison cinst/mozilla.c @ 276:ea9c5bbc6496
Added missing function documentation.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Wed, 02 Apr 2014 11:48:08 +0200 |
parents | f7471604bb31 |
children | 22408d797c92 |
comparison
equal
deleted
inserted
replaced
270:9d2ac9b6a5b0 | 276:ea9c5bbc6496 |
---|---|
353 free(cn_str); | 353 free(cn_str); |
354 free(o_str); | 354 free(o_str); |
355 return name; | 355 return name; |
356 } | 356 } |
357 | 357 |
358 /** | |
359 * @brief Convert a base64 encoded DER certificate to SECItem | |
360 * @param[in] b64 pointer to the base64 encoded certificate | |
361 * @param[in] b64len length of the base64 encoded certificate | |
362 * @param[out] secitem pointer to the SECItem in which to store the | |
363 * raw DER certifiacte. | |
364 * @returns true on success and false on failure | |
365 */ | |
358 static bool | 366 static bool |
359 base64_to_secitem(char *b64, size_t b64len, SECItem *secitem) | 367 base64_to_secitem(char *b64, size_t b64len, SECItem *secitem) |
360 { | 368 { |
361 unsigned char *dercert = NULL; | 369 unsigned char *dercert = NULL; |
362 size_t dercertlen; | 370 size_t dercertlen; |