"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "util/gpgmeutils.c" between
gvm-libs-10.0.1.tar.gz and gvm-libs-11.0.0.tar.gz

About: GVM Libraries for the Greenbone Vulnerability Management (GVM-10) framework (derived from the former openvas-libraries).

gpgmeutils.c  (gvm-libs-10.0.1):gpgmeutils.c  (gvm-libs-11.0.0)
skipping to change at line 372 skipping to change at line 372
* @brief Encrypt a stream for a PGP public key, writing to another stream. * @brief Encrypt a stream for a PGP public key, writing to another stream.
* *
* The output will use ASCII armor mode and no compression. * The output will use ASCII armor mode and no compression.
* *
* @param[in] plain_file Stream / FILE* providing the plain text. * @param[in] plain_file Stream / FILE* providing the plain text.
* @param[in] encrypted_file Stream to write the encrypted text to. * @param[in] encrypted_file Stream to write the encrypted text to.
* @param[in] key_str String containing the public key or certificate. * @param[in] key_str String containing the public key or certificate.
* @param[in] key_len Length of key / certificate, -1 to use strlen. * @param[in] key_len Length of key / certificate, -1 to use strlen.
* @param[in] uid_email Email address of key / certificate to use. * @param[in] uid_email Email address of key / certificate to use.
* @param[in] protocol The protocol to use, e.g. OpenPGP or CMS. * @param[in] protocol The protocol to use, e.g. OpenPGP or CMS.
* @param[in] data_types The expected GPGME buffered data types. * @param[in] key_types The expected GPGME buffered data types.
* *
* @return 0 success, -1 error. * @return 0 success, -1 error.
*/ */
static int static int
encrypt_stream_internal (FILE *plain_file, FILE *encrypted_file, encrypt_stream_internal (FILE *plain_file, FILE *encrypted_file,
const char *key_str, ssize_t key_len, const char *key_str, ssize_t key_len,
const char *uid_email, gpgme_protocol_t protocol, const char *uid_email, gpgme_protocol_t protocol,
GArray* key_types) GArray* key_types)
{ {
char gpg_temp_dir[] = "/tmp/gvmd-gpg-XXXXXX"; char gpg_temp_dir[] = "/tmp/gvmd-gpg-XXXXXX";
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)