From: Nikos Mavrogiannopoulos Date: Tue, 5 Aug 2014 00:12:55 +0000 (+0200) Subject: doc: replaced non-0 with non-zero X-Git-Tag: gnutls_3_4_0~1149 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e4ebc1c267e5b298fdff2017013221ba46568c9;p=thirdparty%2Fgnutls.git doc: replaced non-0 with non-zero --- diff --git a/lib/gnutls_state.c b/lib/gnutls_state.c index ce60db99c8..121ad5ca31 100644 --- a/lib/gnutls_state.c +++ b/lib/gnutls_state.c @@ -1042,7 +1042,7 @@ gnutls_prf_raw(gnutls_session_t session, * @session: is a #gnutls_session_t structure. * @label_size: length of the @label variable. * @label: label used in PRF computation, typically a short string. - * @server_random_first: non-0 if server random field should be first in seed + * @server_random_first: non-zero if server random field should be first in seed * @extra_size: length of the @extra variable. * @extra: optional extra data to seed the PRF with. * @outsize: size of pre-allocated output buffer to hold the output. @@ -1055,7 +1055,7 @@ gnutls_prf_raw(gnutls_session_t session, * The @label variable usually contains a string denoting the purpose * for the generated data. The @server_random_first indicates whether * the client random field or the server random field should be first - * in the seed. Non-0 indicates that the server random field is first, + * in the seed. Non-zero indicates that the server random field is first, * 0 that the client random field is first. * * The @extra variable can be used to add more data to the seed, after diff --git a/lib/x509/x509.c b/lib/x509/x509.c index 0c34b585c8..9d5276bbcb 100644 --- a/lib/x509/x509.c +++ b/lib/x509/x509.c @@ -3570,7 +3570,7 @@ legacy_parse_aia(ASN1_TYPE src, * @seq: specifies the sequence number of the access descriptor (0 for the first one, 1 for the second etc.) * @what: what data to get, a #gnutls_info_access_what_t type. * @data: output data to be freed with gnutls_free(). - * @critical: pointer to output integer that is set to non-0 if the extension is marked as critical (may be %NULL) + * @critical: pointer to output integer that is set to non-zero if the extension is marked as critical (may be %NULL) * * Note that a simpler API to access the authority info data is provided * by gnutls_x509_aia_get() and gnutls_x509_ext_import_aia().