protover: Add missing Padding to translate_to_rust

This commit also explicitly set the value of the PRT enum so we can match/pin
the C enum values to the Rust one in protover/ffi.rs.

Fixes #29631

Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
David Goulet
2019-03-01 13:50:00 -05:00
parent 955a622391
commit a999cb43df
3 changed files with 16 additions and 11 deletions
+4
View File
@@ -0,0 +1,4 @@
o Minor bugfixes (Rust, protover):
- The Rust implementation of protover was missing the "Padding" value in
the translate function from C to Rust. Fixes bug 29631; bugfix on
0.4.0.1-alpha.