Do not crash if password is null and GNUTLS_PKCS_PLAIN is not specified.
[gnutls.git] / lib / gnutls_supplemental.h
blob13188172de4d8b39bf8fa621bf09efcfee697818
1 /*
2 * Copyright (C) 2007-2012 Free Software Foundation, Inc.
4 * Author: Simon Josefsson
6 * This file is part of GnuTLS.
8 * The GnuTLS is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public License
10 * as published by the Free Software Foundation; either version 3 of
11 * the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>
23 #include <gnutls_int.h>
25 int _gnutls_parse_supplemental (gnutls_session_t session,
26 const uint8_t * data, int data_size);
27 int _gnutls_gen_supplemental (gnutls_session_t session,
28 gnutls_buffer_st * buf);