emboss/krypt-core — Issue #33: ASN1::BitString#unused_bits is 0 when constructed, nil when decoded
Author: nahi
Created: 2012-01-30 15:29:49+00:00
State: open

```
% ruby -Ilib -rkrypt-core -e 'p Krypt::ASN1::BitString.new("").unused_bits'
0
% ruby -Ilib -rkrypt-core -e 'p Krypt::ASN1.decode(Krypt::ASN1::BitString.new("").to_der).unused_bits'
nil
```