Skip to content
Snippets Groups Projects
Select Git revision
  • 2e9600204fe5a820e229b9f60f3dee23a8b835ab
  • master default
  • pristine-tar
  • release-4.4
  • release-4.5
  • release-4.3
  • release-4.2
  • release-4.1
  • release-4.0
  • release-3.7
  • release-3.6
  • release-3.5
  • release-3.4
  • release-3.3
  • release-3.2
  • release-3.1
  • release-3.0
  • release-2.23
  • release-2.22
  • release-2.21
  • release-2.20
  • bugzilla-4.4.8
  • bugzilla-4.4.7
  • bugzilla-4.4.6
  • bugzilla-4.5.4
  • bugzilla-4.5.3
  • bugzilla-4.5.2
  • bugzilla-4.5.1
  • bugzilla-4.4.4
  • bugzilla-4.4.3
  • bugzilla-4.4.2
  • bugzilla-4.4.1
  • bugzilla-4.4
  • bugzilla-4.3.3
  • bugzilla-4.3.2
  • bugzilla-4.3.1
  • bugzilla-4.2.9
  • bugzilla-4.2.8
  • bugzilla-4.2.7
  • bugzilla-4.2.6
  • bugzilla-4.2.5
41 results

process_bug.cgi

Blame
  • buffer-init.c 1.21 KiB
    /* buffer-init.c
     *
     */
    
    /* nettle, low-level cryptographics library
     *
     * Copyright (C) 2002 Niels Möller
     *  
     * The nettle library is free software; you can redistribute it and/or modify
     * it under the terms of the GNU Lesser General Public License as published by
     * the Free Software Foundation; either version 2.1 of the License, or (at your
     * option) any later version.
     * 
     * The nettle library is distributed in the hope that it will be useful, but
     * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
     * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
     * License for more details.
     * 
     * You should have received a copy of the GNU Lesser General Public License
     * along with the nettle library; see the file COPYING.LIB.  If not, write to
     * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
     * MA 02111-1301, USA.
     */
    
    #if HAVE_CONFIG_H
    # include "config.h"
    #endif
    
    #include <stdlib.h>
    
    #include "buffer.h"
    #include "realloc.h"
    
    /* This is in a separate file so that we don't link in realloc in
     * programs that don't need it. */
    
    void
    nettle_buffer_init(struct nettle_buffer *buffer)
    {
      nettle_buffer_init_realloc(buffer, NULL, nettle_realloc);
    }