Network Security Services for Rust
Rust
Latest commit 477a882 Dec 1, 2013 @mletterle Null Ptr Check
In some cases there could be a SECFailure when using nss_cmd but no
actual PR_Error, in that case calling std::str::raw::from_c_str on
PR_ErrorToName(PR_GetError()) could result in a null ptr trying to be
dereferenced. So Split up the command and check for ptr::null().

As a bonus it's probably slightly easier to read.
Failed to load latest commit information.
nss Null Ptr Check Dec 1, 2013
rust-nspr @ d8b9d98 Updates for Rust Trunk Nov 17, 2013
.gitignore Add Makefile Nov 7, 2013
.gitmodules add rust-nspr as submodule Nov 7, 2013
.travis.yml Add Makefile Nov 7, 2013
LICENSE Added README and License Oct 29, 2013
Makefile Update Makefile Nov 17, 2013
README.md Try that again... Nov 7, 2013

README.md

Build Status

Network Security Services bindings for Rust

A set of bindings to the Mozilla NSS library. Depends on rust-nspr.

Getting Started

Clone the repo. Start a simple ssl server on another terminal using openssl:

openssl s_server -pass pass:nope -cert nss/tests/files/testcert.pem \
-accept 1234 -key nss/tests/files/privkey.pem

Run make test

License

rust-nss is licensed under the permissive MIT License.

See LICENSE for details.