Sha256: 689671cc5e1841a60687c5a833d6324aad654b06c4058c827b6f755abbc02937

Contents?: true

Size: 1.1 KB

Versions: 2

Compression:

Stored size: 1.1 KB

Contents

/*
 *  Wrapping code and entrypoint for the PolarSSL module.
 *
 *  Copyright (C) 2013  Michiel Sikkes
 *
 *  This file is part of polarssl-ruby (http://github.com/michiels/polarssl-ruby)
 *
 *  All rights reserved.
 *
 *  This program 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 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.
 */


#include "ruby.h"
#include "entropy.h"
#include "ctr_drbg.h"
#include "ssl.h"

VALUE rb_mPolarSSL;

void Init_polarssl()
{
  rb_mPolarSSL = rb_define_module( "PolarSSL" );

  Init_entropy( );
  Init_ctr_drbg( );
  Init_ssl( );
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
polarssl-0.0.3 ext/polarssl/polarssl.c
polarssl-0.0.2 ext/polarssl/polarssl.c